<!DOCTYPE html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>用户红包查询</title>
    <!-- Bootstrap 3.3.5 -->
    <link href="http://cdn.52shangou.com/bootstrap/1.0.2/build/3.3.5/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="../../src/c/font-awesome-4.4.0/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="../../src/c/ionicons-2.0.1/css/ionicons.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="../../src/c/dist/css/AdminLTE.min.css">
    <!-- AdminLTE Skins. Choose a skin from the css/skins
         folder instead of downloading all of them to reduce the load. -->
    <link rel="stylesheet" href="../../src/c/dist/css/skins/_all-skins.min.css">
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <link href="http://cdn.52shangou.com/dataTables/1.0.0/build/dataTables.bootstrap.min.css" rel="stylesheet">
    <link href="http://cdn.52shangou.com/bootstrapvalidator/1.0.0/build/css/bootstrapValidator.min.css" rel="stylesheet">
    <link href="http://cdn.52shangou.com/bootstrap-datetimepicker/1.0.0/build/css/bootstrap-datetimepicker.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="../../build/c/base/index.css">
</head>

<body class="hold-transition skin-blue sidebar-mini">
    <div class="wrapper">
        <header class="main-header">
            <!-- Logo -->
            <a href="../home/index.html" class="logo">
                <!-- mini logo for sidebar mini 50x50 pixels -->
                <span class="logo-mini"><b>C</b>RM</span>
                <!-- logo for regular state and mobile devices -->
                <span class="logo-lg"><b>闪电购</b>CRM</span>
            </a>
            <!-- Header Navbar: style can be found in header.less -->
            <nav class="navbar navbar-static-top" role="navigation">
                <!-- Sidebar toggle button-->
                <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
                    <span class="sr-only">导航</span>
                </a>
                <!-- Navbar Right Menu -->
                <div class="navbar-custom-menu">
                    <ul class="nav navbar-nav">
                    </ul>
                </div>
            </nav>
        </header>
        <!-- Left side column. contains the logo and sidebar -->
        <aside class="main-sidebar" id="main-sidebar">
        </aside>
        <!-- Content Wrapper. Contains page content -->
        <div class="content-wrapper">
            <!-- Content Header (Page header) -->
            <section class="content-header">
                <h1>
                用户红包查询
            </h1>
            </section>
            <!-- Main content -->
            <section class="content">
                <!-- Info boxes -->
                <div class="panel panel-default">
                    <div class="panel-body">
                        <form class="navbar-form navbar-left" role="form" action="javascript:doSearch();" method="post" id="J_Search">
                            <div class="form-group">
                                <label for="mobile" class="control-label">用户手机
                                    <input type="text" id="mobile" name="mobile" class="form-control" placeholder="用户手机">
                                </label>
                            </div>
                            <div class="form-group">
                                <label for="userid" class="control-label">用户ID
                                    <input type="text" id="userid" name="userid" class="form-control" placeholder="用户ID">
                                </label>
                            </div>
                            <div class="form-group">
                                <select id="userStatus" name="userStatus" class="form-control has-error">
                                    <option value="">红包状态</option>
                                    <option value="0">未使用</option>
                                    <option value="1">已使用</option>
                                </select>
                            </div>
                            <div class="form-group">
                                <select id="hongbao_type" class="form-control has-error">
                                    <option value="-1">选择红包类型</option>
                                    <option value="1">普通红包</option>
                                    <option value="2">团长免单券</option>
                                    <option value="3">商品兑换券</option>
                                </select>
                            </div>
                            <div class="form-group">
                                <button type="button" id="search_btn" class="btn btn-default">查 询</button>
                            </div>
                        </form>
                    </div>
                </div>
                <div class="panel panel-default">
                    <div class="panel-body">
                        <table class="table" id="hongbao_table" style="min-height: 200px;">
                            <tbody>
                            </tbody>
                        </table>
                    </div>
                </div>
            </section>
            <!-- /.content -->
        </div>
        <!-- /.content-wrapper -->
        <footer class="main-footer">
        </footer>
        <!-- Control Sidebar -->
        <!-- /.control-sidebar -->
        <!-- Add the sidebar's background. This div must be placed
         immediately after the control sidebar -->
        <div class="control-sidebar-bg"></div>
    </div>
    <!-- ./wrapper -->
    <!--红包信息查看 -->
    <div class="modal fade bs-example-modal-lg" tabindex="-1" id="hongbaoPropertyModal" aria-labelledby="msg_dialog_title" role="dialog" aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-header">
                    <h4 class="modal-title">
                    红包信息
                </h4>
                </div>
                <div class="modal-body">
                    <div class="panel panel-default">
                        <div class="panel-body">
                            <div class="form-group">
                                <label for="useCity" class="col-sm-2 control-label">使用城市列表</label>
                                <div class="col-sm-10">
                                    <input type="text" id="useCity" name="useCity" class="form-control" placeholder="使用城市列表" readonly="readonly">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="useShopName" class="col-sm-2 control-label">使用店铺列表</label>
                                <div class="col-sm-10">
                                    <input type="text" id="useShopName" name="useShopName" class="form-control" placeholder="使用店铺列表" readonly="readonly">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="excludeCatName" class="col-sm-2 control-label">排除类目ID列表</label>
                                <div class="col-sm-10">
                                    <input type="text" id="excludeCatName" name="excludeCatName" class="form-control" placeholder="类目ID列表" readonly="readonly">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="minOrderPrice" class="col-sm-2 control-label">最低订单金额</label>
                                <div class="col-sm-10">
                                    <input type="text" id="minOrderPrice" name="minOrderPrice" class="form-control" placeholder="最低订单金额" readonly="readonly">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="sourcePage" class="col-sm-2 control-label">使用场景</label>
                                <div class="col-sm-10">
                                    <input type="text" id="sourcePage" name="sourcePage" class="form-control" placeholder="使用场景" readonly="readonly">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="useType" class="col-sm-2 control-label">红包的使用app</label>
                                <div class="col-sm-10">
                                    <input type="text" id="useType" name="useType" class="form-control" placeholder="红包的使用app" readonly="readonly">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关 闭</button>
            </div>
        </div>
    </div>
    <!--卡券详情-->
    <div class="modal fade bs-example-modal-lg" tabindex="-1" id="kaquanPropertyModal" aria-labelledby="msg_dialog_title" role="dialog" aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-header">
                    <h4 class="modal-title">
                        红包信息
                    </h4>
                </div>
                <div class="modal-body">
                    <div class="panel panel-default">
                        <div class="panel-body">
                            <div class="form-group">
                                <label for="itemName" class="col-sm-3 control-label">卡券兑换商品</label>
                                <div class="col-sm-9">
                                    <input type="text" id="itemName" name="itemName" class="form-control" placeholder="卡券兑换商品" readonly="readonly">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="cardUsers" class="col-sm-3 control-label">卡券用户类型限制</label>
                                <div class="col-sm-9">
                                    <input type="text" id="cardUsers" name="cardUsers" class="form-control" placeholder="卡券用户类型限制" readonly="readonly">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="TOKENLimit" class="col-sm-3 control-label">卡券TOKEN限制</label>
                                <div class="col-sm-9">
                                    <input type="text" id="TOKENLimit" name="TOKENLimit" class="form-control" placeholder="卡券TOKEN限制" readonly="readonly">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="cardUserLimit" class="col-sm-3 control-label">卡券用户领取限制</label>
                                <div class="col-sm-9">
                                    <input type="text" id="cardUserLimit" name="cardUserLimit" class="form-control" placeholder="卡券用户领取限制" readonly="readonly">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="cardGetCode" class="col-sm-3 control-label">卡券兑换码</label>
                                <div class="col-sm-9">
                                    <input type="text" id="cardGetCode" name="cardGetCode" class="form-control" placeholder="卡券兑换码" readonly="readonly">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="cardAPP" class="col-sm-3 control-label">卡券兑换app</label>
                                <div class="col-sm-9">
                                    <input type="text" id="cardAPP" name="cardAPP" class="form-control" placeholder="卡券兑换app" readonly="readonly">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关 闭</button>
            </div>
        </div>
    </div>
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="http://cdn.52shangou.com/jquery/1.0.0/build/jquery-1.11.3.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="http://cdn.52shangou.com/dataTables/1.0.0/build/jquery.dataTables.min.js"></script>
    <script src="http://cdn.52shangou.com/bootstrap/1.0.2/build/3.3.5/bootstrap.min.js"></script>
    <script src="http://cdn.52shangou.com/dataTables/1.0.0/build/dataTables.bootstrap.min.js"></script>
    <script src="http://cdn.52shangou.com/jquery.cookie/1.0.0/build/jquery.cookie.min.js"></script>
    <script src="http://cdn.52shangou.com/bootstrapvalidator/1.0.0/build/js/bootstrapValidator.min.js"></script>
    <script src="http://cdn.52shangou.com/bootstrap-datetimepicker/1.0.0/build/js/bootstrap-datetimepicker.min.js"></script>
    <script src="http://cdn.52shangou.com/bootstrap-datetimepicker/1.0.0/build/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
    <script src="http://cdn.52shangou.com/bootstrap-typeahead/1.0.2/build/bootstrap-typeahead.min.js"></script>
    <!-- AdminLTE App -->
    <script src="../../src/c/dist/js/app.min.js"></script>
    <!-- main -->
    <script type="text/javascript" src="http://cdn.52shangou.com/lib/1.0.1/build/lib/require.js?t=1440237721"></script>
    <script type="text/javascript">
    require.config({
        urlArgs: 't=' + (new Date()).getTime(),
        baseUrl: '../../build',
        paths: {
            'juicer': 'http://cdn.52shangou.com/lib/1.0.4/build/lib/juicer-amd'
        }
    });
    require(['p/user/hongbao/index']);
    </script>
</body>

</html>
